package project.Controller;

import jakarta.servlet.http.HttpServletRequest;
import org.json.JSONException;
import org.springframework.web.bind.annotation.*;
import project.Pojo.Result;

@RestController
@RequestMapping("/test")
public class testController {
    @GetMapping("/list")
    public Result test(HttpServletRequest request) throws JSONException {
        System.out.println(request.getSession().getAttribute("damn"));
        return Result.error("1");
    }
}
